<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            <li class="nav-header">
                <div class="dropdown profile-element"> <span>
                        <img alt="image" class="img-circle" src="img/profile_small.jpg" />
                    </span>
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <span class="clear"> 
                            <span class="block m-t-xs"> 
                                <strong class="font-bold"><?php //echo yii::$app->user->identity->username?></strong>
                            </span> 
                            <!--<span class="text-muted text-xs block">Art Director <b class="caret"></b></span>--> 
                        </span> 
                    </a>
                    
                </div>
                <div class="logo-element">
                    E-space
                </div>
            </li>
            <li>
                <a href="/"><i class="fa fa-th-large"></i> <span class="nav-label">Quản lý tài khoản</span> <span class="fa arrow"></span></a>
                <ul class="nav nav-second-level in">
                    <li ><a href="<?php echo yii::$app->urlManager->createUrl(['teacher/index'])?>"><i class="fa fa-life-ring"></i>Giáo viên </a></li>
                    <li ><a href="<?php echo yii::$app->urlManager->createUrl(['student/index'])?>"><i class="fa fa-user"></i>Học viên </a></li>
                    
                </ul>
            </li>
            <li>
                <a href="/"><i class="fa fa-picture-o"></i> <span class="nav-label"> Quản lý khóa học</span> <span class="fa arrow"></span></a>
                <ul class="nav nav-second-level in">
                    
                    <li><a href="<?php echo yii::$app->urlManager->createUrl(['calendar/index'])?>"><i class="fa fa-money"></i> Lịch học </a></li>
                    <li ><a href="<?php echo yii::$app->urlManager->createUrl(['class/index'])?>"><i class="fa fa-list-alt"></i> Lịch dạy</a></li>
                    
                </ul>
            </li>
            <li>
                <a href="/"><i class="fa fa-bar-chart-o"></i> <span class="nav-label">Hệ thống </span> <span class="fa arrow"></span></a>
                <ul class="nav nav-second-level in">
                    <li ><a href="<?php echo yii::$app->urlManager->createUrl(['package/index'])?>"><i class="fa fa-th-list"></i> Gói học</a></li>
                    <li><a href="<?php echo yii::$app->urlManager->createUrl(['exchange/index'])?>"><i class="fa fa-money"></i> Giao dịch </a></li>
                    <li ><a href="<?php echo yii::$app->urlManager->createUrl(['report/index'])?>"><i class="fa fa-paper-plane"></i> Thống kê  giờ dạy </a></li>
                    <li ><a href="<?php echo yii::$app->urlManager->createUrl(['post/index'])?>"><i class="fa fa-th-list"></i> Bài viết</a></li>
                    <li><a href="<?php echo yii::$app->urlManager->createUrl(['document/index'])?>"><i class="fa fa-file-excel-o"></i> Tài liệu </a></li>
                    <li><a href="<?php echo yii::$app->urlManager->createUrl(['contact/index'])?>"><i class="fa fa-cog"></i> Liên hệ </a></li>
                    <li ><a href="<?php echo yii::$app->urlManager->createUrl(['site/logout'])?>"><i class="fa fa-power-off"></i> Logout </a></li>
                    
                </ul>
            </li>

            <li class="special_link">
                <a href="/"><i class="fa fa-mail-reply-all"></i> <span class="nav-label">Home page</span></a>
            </li>
        </ul>

    </div>
</nav>